package com.crazy.web.config.mongodb;

/**
 * @author zhaochaofeng
 * @version 1.0
 * @date 2021/1/18 17:03
 */
public interface DemoDao {
    void saveDemo(DemoEntity demoEntity);

    void removeDemo(Long id);

    void updateDemo(DemoEntity demoEntity);

    DemoEntity findDemoById(Long id);
}
